package com.stormrage.entity.index;

import java.io.Serializable;

/**
 * @Title: IdxQanda.java
 * @Package com.stormrage.entity.index
 * @Description: 首页 qanda Entity 类
 * @author www.stormragetech.com
 * @date 2016年4月10日
 * @version V1.0
 */
public class IdxQanda implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = -6978006190268881378L;

	// ------------------------------- Fields -------------------------------

	private Integer id;

	private String question;;

	private String answer;

	// ------------------------------- Fields -------------------------------

	public IdxQanda() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	// ------------------------------- Fields -------------------------------

	@Override
	public String toString() {
		return this.getClass() + " : id - " + id + " question - " + question + " answer - " + answer;
	}

}
